<template>
  <div class="common-layout">
    <el-container>
      <el-aside width="200px">Aside</el-aside>
      <el-container class="right">
        <el-header>Header</el-header>
        <el-main>
          <el-row :gutter="20" style="height: 200px">
            <el-col :span="18">
              <div
                class="grid-content ep-bg-purple"
                style="background: red; height: 100%"
              >
                <el-row :gutter="20">
                  <el-col :span="6">
                    <div class="grid-content ep-bg-purple">111</div>
                  </el-col>
                  <el-col :span="6">
                    <div class="grid-content ep-bg-purple">222</div>
                  </el-col>
                  <el-col :span="6">
                    <div class="grid-content ep-bg-purple">333</div>
                  </el-col>
                  <el-col :span="6">
                    <div class="grid-content ep-bg-purple">444</div>
                  </el-col>
                </el-row>
              </div>
            </el-col>
            <el-col :span="6">
              <div
                class="grid-content ep-bg-purple"
                style="background: green; height: 100%"
              >
                2
              </div>
            </el-col>
          </el-row>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<style>
.el-aside {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  background-color: lightblue;
}

.right {
  margin-left: 200px;
}

.el-header {
  background-color: lightgreen;
}

.el-row {
  margin-bottom: 20px;
}
.el-row:last-child {
  margin-bottom: 0;
}
.el-col {
  border-radius: 4px;
}

.grid-content {
  border-radius: 4px;
  min-height: 36px;
}
</style>
